/**
 * 
 */
package com.base.common.persistent.query;

import com.base.common.persistent.model.TNews;
import com.base.common.persistent.model.TShops;

import java.util.List;

/**
 * @author "kat.luhongkai"
 *
 */
public class TNewsQuery extends TNews{
	
	private int offset;	// mysql 分页偏移量

	private String orderBy;	// 排序条件

	private String sort = "desc"; // 升序or降序, 默认降序排序

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

}
